//
//  ViewSignalProtocol.h
//  ZYOnlineSchool
//
//  Created by 毕武侠 on 2017/2/24.
//  Copyright © 2017年 bwx. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol ViewSignalProtocol <NSObject>

@optional

// dict: @{@"action" : @"get"}
- (RACSignal *)getSignalWithDictionary:(NSDictionary *)dict;

// dict: @{@"action" : @"set", @"data" : @"data"}
- (void)didWithDictionary:(NSDictionary *)dict;

// dict: @{@"action" : @"set"}
- (void)setSignal:(RACSignal *)signal withDictionary:(NSDictionary *)dict;

@end
